home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_6.lha / 7_6 / 7_6_app.c next >
Text File  |  1993-08-08  |  342b  |  13 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. / Append an entry at the end of the list.
  6. / This is the same as dlist::insert() except
  7. / that dlist::last is adjusted afterwards.
  8. oid dlist::append(ent a)
  9.  
  10.    this->insert(a);
  11.    last = last->next;
  12.  
  13.